package com.zxl.common.model.vo.goods;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zxw
 * @date 2023/3/31
 */
@Data
public class GoodsListVo {
    @ApiModelProperty("商品id")
    private Integer id;

    @ApiModelProperty("商品编号")
    private String goodsCode;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("规格")
    private String goodsSpecification;

    @ApiModelProperty("商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty("商品主图")
    private String goodsMainImage;

    @ApiModelProperty("商品详情图")
    private String goodsDetailImage;

    @ApiModelProperty("商品小图")
    private String goodsSmallImage;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("商品库存 null->无限")
    private Integer goodsStock;

    @ApiModelProperty("商品状态 0->禁用(默认) 1->启用")
    private Integer goodsStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("商品分类id")
    private Integer goodsCategoryId;

    @ApiModelProperty("新品状态 1->启用")
    private Integer isNew;

}
